


<!-- Add Comment begin -->
				<div id="respond">
	<h3 id="addcomment">发表评论</h3>
    <div class="clear"></div>
<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'comment-form',
	'enableAjaxValidation'=>true,
)); ?>
        <p>	
		<?php echo $form->labelEx($model,'昵称',array('for'=>'Comment_nickname','class'=>'required')); ?>
		<span class="required">*</span>
		<?php echo $form->textField($model,'author',array('size'=>60,'maxlength'=>20,'value'=>'游客')); ?>
		<?php echo $form->error($model,'author'); ?>
		</p>
<!--         <p>
		<?php //echo $form->labelEx($model,'email'); ?>
		<?php //echo $form->textField($model,'email',array('size'=>60,'maxlength'=>30)); ?>
		<?php //echo $form->error($model,'email'); ?>
		</p> -->
<!-- 		<p>
		<?php //echo $form->labelEx($model,'QQ'); ?>
		<?php //echo $form->textField($model,'author',array('size'=>60,'maxlength'=>20)); ?>
		<?php //echo $form->error($model,'author'); ?>		
		</p> -->
<!-- 		<p>
		<?php //echo $form->labelEx($model,'电话'); ?>
		<?php //echo $form->textField($model,'author',array('size'=>60,'maxlength'=>20)); ?>
		<?php //echo $form->error($model,'author'); ?>
		</p> -->
<!--         <p>
		<?php //echo $form->labelEx($model,'网址'); ?>
		<?php //echo $form->textField($model,'url',array('size'=>60,'maxlength'=>200)); ?>
		<?php //echo $form->error($model,'url'); ?>
		</p> -->
        <div class="comment"><textarea class="xheditor {tools:'Bold,FontSize,Fontface,FontColor,Italic,Underline,Strikethrough,Align,List,Outdent,Indent,Link,Img,Emot',skin:'nostyle',innerCheck:true,wordLimit:1500}" id="content" name="Comment[content]" style="width: 570px; display: none;" rows="12" cols="105" ></textarea><input type="text" style="position: absolute; display: none;" id="xhe0_fixffcursor" class="txt_input"></div>


	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Submit' : 'Save',array('id'=>'submit','value'=>'提 交 (Ctrl+Enter)')); ?>
	</div>
<?php $this->endWidget(); ?>
</div>
<!-- Add Comment end -->